package com.ysd.lis.controller.eq;


import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.request.CommonPageDto;
import com.ysd.lis.service.eq.EqEquiptHomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 巡检记录设备的巡检标准 前端控制器
 * </p>
 *
 * @author prs
 * @since 2024-08-29
 */
@RestController
@RequestMapping("/api/eq/eqEquiptHome")
public class EqEquiptHomeController extends BaseController {

    @Autowired
    EqEquiptHomeService eqEquiptHomeService;

    @GetMapping("/getPersonalAgency")
    public Result getPersonalAgency(CommonPageDto pageParam){
        return eqEquiptHomeService.getPersonalAgency(pageParam);
    }
    @GetMapping("/getPersonalAgency2")
    public Result getPersonalAgency2(CommonPageDto pageParam){
        return eqEquiptHomeService.getPersonalAgency2(pageParam);
    }
}
